<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>客服模块-即时通讯</title>
<link href="../css/bootstrap.min.css" rel="stylesheet" />
<link href="../css/_coolchat.css" rel="stylesheet" />
<link rel="stylesheet" href="../assets/css/intlTelInput.css">


<script src="../assets/js/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="../assets/js/jquery.cookie.js" type="text/javascript"></script>
<script src="../assets/js/bootstrap.min.js" type="text/javascript"></script>



</head>
<body>

<div class="image-container set-full-height" style="background-image: url('img/wizard.jpg')">

	<div id="content" class="container regContainer">
		<button id="registerDemo" class="btn btn-success">&nbsp;联系我们&nbsp;</button>
	</div>

	<script  type="text/javascript" charset="UTF-8">

		$("#content #registerDemo").click(function() {
			
			window.open ('index.html','newwindow','height=660,width=530,top=50%,left=50%,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');

		});

	</script>


	

    <script   language=JScript> 
       //var   service   =   locator.ConnectServer(); 
       var   MACAddr   ; 
       var   IPAddr   ; 
       var   DomainAddr; 
       var   sDNSName; 
       //service.Security_.ImpersonationLevel=3; 
       //service.InstancesOfAsync(foo,   'Win32_NetworkAdapterConfiguration '); 

    </script>   

    <script   language=JScript   event=OnObjectReady(objObject,objAsyncContext)   for=foo> 
       if(objObject.IPEnabled   !=   null   &&   objObject.IPEnabled   !=   "undefined "   &&   objObject.IPEnabled   ==   true) 
       { 
       if(objObject.MACAddress   !=   null   &&   objObject.MACAddress   !=   "undefined ") 
       MACAddr   =   objObject.MACAddress; 
       if(objObject.IPEnabled   &&   objObject.IPAddress(0)   !=   null   &&   objObject.IPAddress(0)   !=   "undefined ") 
       IPAddr   =   objObject.IPAddress(0); 
       if(objObject.DNSHostName   !=   null   &&   objObject.DNSHostName   !=   "undefined ") 
       sDNSName   =   objObject.DNSHostName; 

       } 

       console.log("===============>>> mac 物理地址"+MACAddr);
	</script>     

    <script   language=JScript   event= "OnCompleted(hResult,pErrorObject,   pAsyncContext) "   for=foo> 
   		alert("物理地址"+MACAddr+"IP地址"+IPAddr+"主机名"+sDNSName);
    </script> 

</div>
</body>
</html>